package whu.cachhe.makeorder.ui;

import android.support.v7.app.AppCompatActivity;
import android.view.KeyEvent;

/**
 * Created by CocoAdapter on 2018/3/25.
 */

public class NewsActivity extends AppCompatActivity {

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (keyCode == KeyEvent.KEYCODE_BACK) {
            this.finish();
            return true;
        }
        return super.onKeyDown(keyCode, event);
    }
}
